﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SkyFab.Master" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="Web.ProductDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SubMenuPlaceHolder" runat="server">
    <p>
        &nbsp;</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<asp:Label ID="FlashMessageLabel" runat="server"></asp:Label>
    <h1>Product Detail</h1>

    <div class="span-18">
    <fieldset>
    <legend>Product Information</legend>
    <p>
    <label>Product No:</label>
    <asp:Label ID="ProductNoLabel" runat="server"></asp:Label>
    </p>

    <p>
    <label>Name:</label>
    <asp:Label ID="ProductNameLabel" runat="server"></asp:Label>
    </p>

    <p>
    <label>Total Stock:</label>
    <asp:Label ID="TotalStockLabel" runat="server"></asp:Label>
    </p>

    <p>
    <label>Revision:</label>
    <asp:Label ID="RevLabel" runat="server"></asp:Label>
    </p>

    <p>
    <label>Description:</label>
    <asp:Label ID="DescLabel" runat="server"></asp:Label>
    </p>

    <p>
    <label>Currently In Use:</label>
    <asp:CheckBox ID="VisibilityCheckBox" runat="server" />
    </p>

    </fieldset>
    </div>


    <div class="span-18">
    <fieldset>
    <legend>Stock Information (By Batch No.)</legend>
    <p>
    <asp:GridView ID="DetailGridView" runat="server" AutoGenerateColumns="False" 
            CssClass="gridview">
            <Columns>
                <asp:BoundField DataField="BatchNo" HeaderText="Batch No" />
                <asp:BoundField DataField="Stock" HeaderText="Stock" />
            </Columns>

            
                    <AlternatingRowStyle BackColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle HorizontalAlign="Center" CssClass="pagerTable" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </p>
    </fieldset>
    </div>

    <div class="span-18">
    <asp:Button ID="EditButton" runat="server" Text="Edit" 
            onclick="EditButton_Click" CssClass="submitButton" />

    <asp:Button ID="DeleteButton" runat="server" Text="Delete" 
            onclick="DeleteButton_Click" CssClass="submitButton" />
    </div>
   
    
</asp:Content>
